// pages/index/index.js
Page({
  data: {
    persons: [
      { id: 1, name: 'jack' },
      { id: 2, name: 'rose' },
      { id: 3, name: 'tom' },
    ],
    msg: 'hello msg',
    count: 10,
    person: {
      name: 'jack',
      age: 18
    },
    isShow: true
  },
  handleTap() {
    this.setData({
      isShow: !this.data.isShow
    })
  }
})